﻿using SD.App.Desktop.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SD.App.Desktop.Repository
{
    public interface IResetPasswordTokenRepository : IRepository<ResetPasswordToken, long>
    {
        /// <summary>
        /// 根据用户名和令牌查询
        /// </summary>
        Task<ResetPasswordToken?> GetByUsernameAndTokenAsync(string username, string token);
    }
}
